home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 019a / vde162.zip / VDE.REF < prev    next >
Text File  |  1991-10-27  |  80KB  |  1,303 lines

  1.  
  2.  
  3.                                    VDE.REF
  4.                                    -------
  5.                      Reference Manual for the VDE Editor:
  6.                           version 1.62 (27 Oct 1991)
  7.  
  8.                              (c)1987-91, E. Meyer
  9.  
  10.  
  11.  
  12. ================================  CONTENTS  ==================================
  13.  
  14.  
  15. 1. SYNTAX.  How to invoke VDE from the DOS command line.
  16.  
  17. 2. COMMAND SUMMARY:  MenuBar choices; command keystrokes.
  18.  
  19. 3.  VDE REFERENCE, alphabetically by topic:
  20.        Accessory files, Auto format, Auto indent, Auto number, Auto save, 
  21.     Block commands, Deleting, Envelopes, Files, Find/replace, Foreign 
  22.     characters, Graphics, Header, Hyphenation, Information, Inserting, 
  23.     Justification, Line spacing, Margins, Matching files, Moving around, 
  24.     Multiple files, Page preview, Pagination, Paragraph indent, Place markers, 
  25.     Print styles/codes, Printer drivers, Printing, Proportional spacing, 
  26.     Reformat, Ruler line, Run command/shell, Save/exit, Screen controls, 
  27.     Screen size, Splitting files, Tabs, Time/date, Undelete, Upper/lower case, 
  28.     Windows.
  29.  
  30. 4. MACROS.  Explanation and examples of:
  31.        Function keys, Key redefinition files, Macro definition and use, Macro 
  32.     keys, Macro programming, Toggle control, Recording macros.
  33.  
  34.  
  35. ================================  1. SYNTAX  ================================
  36.  
  37.  
  38.      TO RUN VDE, you can just type "VDE", with no arguments; or, you may 
  39. specify a list of up to 8 filenames.  Any filename may include a DOS 
  40. directory, and/or be followed by a mode option.  Spaces or a comma may be used 
  41. to separate filenames.  A key definition or printer driver file may also be 
  42. specified at the end of the command line, following a semicolon ";".
  43.  
  44.       vde {filename} {/m} {{,} filename2 {/m}} {...} {;name.VD_} {;name.VD_}
  45.  
  46. EXAMPLES:     vde                           vde article.doc/w;ws4.vdf
  47.               vde sample.fil                vde b:myfile,myfile.bak
  48.               vde a:summary \wp\memo        vde prog.doc/a prog.asm/n errors
  49.  
  50.          "filename" - file to edit.  If no name is given, you begin a new 
  51.     (untitled) file.  With multiple names, the previous item's directory 
  52.     carries over to the next item, unless this begins with a new drive or root 
  53.     "\".  (In the example above, MYFILE.BAK is on drive B:.)
  54.  
  55.          "/m" or " m" - optional choice of file modes: "m" can be "A"SCII,  
  56.     "W"ordstar, WordStar "5", Word"P"erfect, "X"yWrite/NotaBene, "M"icrosoft 
  57.     Word, or "U"nformatted document; or "C"-source or "N"ondocument.  Normally 
  58.     defaults to "/A".  Must be separated from filename by space and/or slash.
  59.  
  60.          ";name.VD_" - optional utility file(s) to load, must have file type 
  61.     .VDF, VDK, .VDP, .VDC, or .VDG.  Files must reside in the specified, 
  62.     current, or VDE directory.  See ACCESSORY FILES.
  63.  
  64.  
  65. ===========================  2. COMMAND SUMMARY  =============================
  66.  
  67.  
  68.      Explanation of Keys:  special IBM PC keys are indicated in [brackets], 
  69. including arrows [^,v,<,>] for the cursor keys.  [+] and [-] refer to the 
  70. keypad +,- keys only.  "Esc" indicates pressing the Escape key, [Esc]; "Esc1" 
  71. means [Esc],1.  "Alt" indicates holding down the [Alt] key: "AltD" means 
  72. [Alt]+D.  "^" indicates holding down the [Ctrl] key: "^K" means [Ctrl]+K.
  73.      Many commands use two-key sequences, like ^QR = [Ctrl]+Q,R.  The prefix 
  74. (^Q) displays in the header, and can be canceled by pressing [Esc] or [Space].
  75.  
  76.      If you have an "enhanced" or nonstandard keyboard, you may want to remap 
  77. the functions of the [Ctrl,Alt] keys; see CONTROL KEY (VKMAP).
  78.      If your keyboard lacks any of the IBM PC keys, equivalents are always 
  79. available (e.g., ^R for [PgUp]).  If you have no [Alt] key, you can still 
  80. access the Alt-commands with a double-Esc prefix: Esc,Esc,X = AltX.
  81.  
  82.  
  83.                                 SPECIAL KEYS
  84.  
  85.     [Enter] = Carriage Return (also CR, or ^M).
  86.                  New line.  In documents, marks a paragraph end.
  87.       [Tab] = Hard Tab mode: enter Tab.  Variable Tab mode: move to next stop.
  88.   Shft[Tab] = backward variable Tab: move to previous stop.
  89.  
  90.     [BkSp] = BackSpace (also BS or ^H).  [May instead delete to left.]
  91.      [Del] = Delete character to left.  [May instead delete at cursor.]
  92.    ^[BkSp] = delete character to left.  [May instead delete word to left.]
  93.      [Ins] = toggle Insert on and off.   ^[Ins] = Word Insert on/off.
  94.  
  95.      [^], [v], [>], [<] (arrow keys) = move cursor.
  96.      ^[<],^[>] = move to start of previous (left), next (right) word.
  97.      ^[^],^[v] = go to top, bottom of screen.  (AT keyboard only)
  98.  
  99.           [5] = make current line center of screen.    (Keypad keys,
  100.       [-],[+] = scroll back, forward one line.          NumLock off)
  101.  
  102.       [Home],[End] = go to beginning, end of line.  Repeat: prev/next line.
  103.                        [May instead go to top/bottom of screen.]
  104.     ^[Home],^[End] = move to top, end of file.
  105.  
  106.       [PgUp],[PgDn] = page back, forward one screen.
  107.     ^[PgUp],^[PgDn] = page both windows of split screen back, forward.
  108.  
  109.      Shft[^],[v],[>],[<]       \  (shifted arrow/keypad keys)
  110.      Shft[Home,End,PgUp,PgDn]  /         mark block
  111.  
  112.                                 MENU-BAR MODE
  113.  
  114.      Press [Esc] to call up the main menu bar; select a sub-menu by typing the 
  115. capitalized, highlighted letter, then select a command from it.  The [Esc] key 
  116. can be used to return to the main menu, or (from the main menu) to return to 
  117. editing.  For explanation of any selection, look up its command equivalent.
  118.  
  119. {Delete: del Line}       ^Y            {Misc: enter Time}        AltT
  120.          to line Start}  ^Q[Del]              enter Date}        AltD
  121.          to line End}    ^QY                  file Info}         ^KI
  122.          del to Char}    ^QT                  about VDE}         AltI
  123.          del Block}      ^KY                  Escape}            Esc
  124.          Undelete}       ^U                   Command mode}      Esc?
  125.  
  126. {moVe: Find}             ^QF           {Print: overstrike Char}  ^PH
  127.        Replace}          ^QA                   overstrike Line}  ^PM
  128.        rEpeat f/r}       ^L                    Formfeed}         ^PL
  129.        Overview bar}     AltO                  Tab}              ^PI
  130.        place Set}        ^PZ                   Graphic}          AltG
  131.        place Go}         ^QZ                   Driver}           AltV
  132.                                                Print file}       ^KP
  133.  
  134. {Text: margin L}         ^OL           {Block: Begin}            ^KB
  135.        margin R}         ^OR                   End}              ^KK
  136.        Mrgn rel}         ^OX                   Unmark}           ^KH
  137.        Justify}          ^OJ                   Copy}             ^KC
  138.        Center}           ^OC                   Move}             ^KV
  139.        Flush}            ^OF                   cuT}              AltC
  140.        rEform}           ^B                    Paste}            AltP
  141.        auto Indent}      ^OA                   Write}            ^KW
  142.        auto fmT}         ^OM                   Zoom}             ^KZ
  143.  
  144. {stYle: Underline}       ^PS           {File: rEname work}       ^KE
  145.         Bold}            ^PB                  Dir}               ^KF
  146.         Doublestrike}    ^PD                  Read in}           ^KR
  147.         Italic}          ^PY                  Load new}          ^KL
  148.         Subscript}       ^PV                  Add file}          AltL
  149.         suPerscript}     ^PT                  Next file}         AltN
  150.                                               Prev file}         AltB
  151. {Set: tab Set}           ^OI
  152.       tab Clr}           ^ON
  153.       Varitab}           ^OV           {Exit: Save to disk}      ^KS
  154.       Double spc}        ^OS                  eXit w/save}       ^KX
  155.       Prop spc}          ^OK                  Quit w/o save}     ^KQ
  156.       Hyphens}           ^OH                  Run DOS command}   AltR
  157.       pg Length}         ^OP
  158.  
  159. {sCreen: make Top}       ^OE           {User: Ruler}             ^OT
  160.          Window}         AltW                 ...}
  161.          Other win}      AltF             [This and the other four items
  162.          Header}         ^OQ               on the User bar are redefinable.]
  163.          Blank}          ^OZ
  164.          Preview}        ^OD
  165.          50/43 Ln}       AltE
  166.          132 Col}        AltA
  167.  
  168.                                  COMMAND MODE
  169.  
  170.      A concise HELP MENU is available in Command mode by pressing ^J or [F1].  
  171. Page through it with the [PgUp/Dn] or [^/v] keys, or press A,E,K,O,P,Q for 
  172. Alt, Esc, ^K, ^O, ^P, and ^Q commands.
  173.  
  174.  
  175. I. CONTROL KEYS:  single keystroke commands.
  176.  
  177.      WordStar arrow-key diamond:
  178.        ^E = up.    ^D = right.             ^F,^A = move to word right, left.
  179.        ^X = down.  ^S = left.
  180.  
  181.      ^W,^Z = scroll back, forward one line.
  182.      ^R,^C = page back, forward one screen.
  183.  
  184.      ^G = delete character at cursor.      ^Y = delete current line.
  185.      ^T = delete word to right.
  186.      ^U = undo last deletion (character, word, line, or block).
  187.  
  188.      ^V = toggle Insert mode on/off.       ^N = insert CR (break line).
  189.      ^] = toggle Word Insert on/off.       ^_ = insert a space.
  190.  
  191.      ^P = insert special code:
  192.             ^P- = soft hyphen     ^PZ = place mark
  193.             ^PB,D,S,Y,T,V,A,N,Q,W,E,R = print toggles and switches.
  194.  
  195.      ^^ = toggle case (upper/lower) of character at cursor.
  196.      ^B = reformat paragraph.              ^L = repeat last find/replace.
  197.  
  198.  
  199. II. FILE AND BLOCK COMMANDS:  first press ^K, then the key shown.
  200.  
  201.      ^KI = file/memory Information.       ^KP = Print the text.
  202.  
  203.      ^KF = disk File browser.             ^KR = Read a file into text.
  204.      ^KL = Load new file(s) to edit.      ^KJ = delete a disk file.
  205.  
  206.      ^KE = rEname current work.           ^KS = Save to disk, and continue.
  207.      ^KD = Done: save & load new file.    ^KX = eXit: save & quit to DOS.
  208.      ^KA = set Autosave interval.         ^KQ = Quit to DOS, abandoning file.
  209.  
  210.      ^KB = mark start of a Block.         ^KK = mark end of a block.
  211.      ^KH = unmark the block.              ^KY = Delete the marked block.
  212.      ^KC = Copy block at cursor location. ^KV = moVe block to cursor location.
  213.      ^KZ = Zoom into the marked block.    ^KW = Write block to a disk file.
  214.      ^K# = automatically number items in the block.
  215.      ^K",',^ = uppercase ("), lowercase ('), or switch case (^) of block text.
  216.  
  217.  
  218. III.  QUICK COMMANDS:  first press ^Q, then the key shown.
  219.  
  220.      ^QS,^QD = go to beginning, end of line.
  221.      ^QE,^QX = go to top, bottom of screen.
  222.      ^QR,^QC = go to top, end of file.
  223.      ^QB,^QK = go to beginning, end of block.
  224.  
  225.      ^QL,^QN = go to last, next page.     ^QI = go to specified page or line.
  226.  
  227.      ^QZ = go to next place marker.
  228.      ^QP = go to Previous position in file (before last sizable move).
  229.  
  230.      ^QF = find a string.                 ^QA = find and replace a string.
  231.  
  232.      ^QY = delete from cursor to end of current line.
  233.      ^Q[Del] = delete from cursor to beginning of current line.
  234.      ^QT = delete up to specified character.
  235.  
  236.  
  237. IV. ONSCREEN COMMANDS:  first press ^O, then the key shown.
  238.  
  239.      ^OR,^OL = set Right, Left margin.    ^OX = toggle Margin Release on/off.
  240.      ^OC = Center text on line.           ^OF = make line Flush right.
  241.  
  242.      ^OA = Auto indent on/off.            ^OM = auto forMat on/off.
  243.      ^OG = paraGraph indent.
  244.  
  245.      ^OK = proportional spacing on/off.   ^OS = double Spacing on/off.
  246.      ^OV = tab mode Variable/hard.        ^OH = Hyphenation on/off.
  247.      ^OI,^ON = set, clear tab stop(s).
  248.      ^OP = set Page length (0 turns off pagination).
  249.  
  250.      ^OQ = header display on/off.         ^OT = ruler line display on/off.
  251.      ^OB = hard CR display on/off.
  252.      ^OD = page preview (control codes hidden, pagebreaks displayed)
  253.      ^OE = make current line top of screen.
  254.      ^OW = split Window to show two different portions of the file.
  255.      ^OZ = temporarily blank the entire screen.
  256.  
  257.  
  258. V. ALT-KEY COMMANDS: press [Alt] and the key shown.
  259.                      (Or [Esc] twice, then the key shown)
  260.  
  261.      AltI = show VDE version Information.
  262.  
  263.      AltL = Load an additional file.      AltB = move Back to previous file.
  264.      AltW = split Window with 2 files.    AltN = move forward to Next file.
  265.      AltF = move to other File in window.
  266.  
  267.    AltC,P = Cut and Paste a block from one place or file to another.
  268.      AltM = Match up the two files on screen, showing differences.
  269.      AltX = eXit (^KX) from all files.    AltQ = Quit (^KQ) from all files.
  270.  
  271.      AltR = Run DOS command (or shell).   AltS = Split up a large file.
  272.  
  273.    AltT,D = enter the current system Time or Date in the file.
  274.      AltG = enter an IBM Graphics character into text.
  275.    AltE,A = EGA/VGA screen (43/50 lines), wide screen (132 columns).
  276.  
  277.      AltO = move with Overview bar.       AltV = change printer driVers.
  278.      AltU = Use (Load or Save) accessory file (key definitions, etc).
  279.  
  280.  
  281. VI. ESC-KEY COMMANDS:  first press [Esc], then the key shown.
  282.                        (In MenuBar mode, access via {Misc:Escape}.)
  283.  
  284.      Esc[<],[>] = scroll screen horizontally 32 columns.
  285.      Esc[^],[v] = scroll screen vertically 1/4 screen.
  286.      Esc[Tab] = variable tab forward (in hard tab mode).
  287.      Esc? = switch to MenuBar mode.  (In macro mode: call up MenuBar.)
  288.  
  289.      Esc[       = define a macro string of commands.
  290.      Esc"       = record a macro from keystrokes.
  291.      Esc]       = store macro on alphanumeric key for later recall.
  292.      Esc0...Z   = use stored key.  (In macro mode: jump label.)
  293.      Esc!,=,~,$ = jumps and loops, used in macro programming.
  294.      Esc*       = universal toggle set.
  295.      Esc(),+,-  = counter, used in macro programming.
  296.      Esc;       = brief pause, during macro execution only.
  297.      Esc&       = chain to another macro.
  298.  
  299.  
  300. ===========================  3. VDE REFERENCE  ===============================
  301.  
  302.  
  303. ACCESSORY FILES (AltU) -  AltU allows you to change many VDE settings by using 
  304.     (loading and saving) specific types of data files.
  305.          .VDF/K files can be Loaded and Saved - see KEY DEFINITION FILES.
  306.          .VDG files can be Loaded and Saved - see GRAPHICS (CHARACTERS).
  307.          .VDP files can be Loaded - see PRINTER DRIVERS.
  308.          .VDC files can be Loaded - see CHARACTER WIDTHS.
  309.     Each of these may also be loaded with a semicolon on the command line (see 
  310.     SYNTAX).  Files must be in either the specified, current, or VDE directory 
  311.     (specified with the SET command -- see DIRECTORIES).
  312.  
  313. AUTO FORMAT (^OM) -  When on, continuously keeps the paragraph of text you are 
  314.     working on properly formatted (margins and spacing), even as you add to or 
  315.     delete from the line; format changes are implemented instantly.  When off, 
  316.     the manual ^B command can still be used (see REFORMAT).  [Default status 
  317.     can be chosen.]
  318.          Care must be taken in files with mixed formats, as the CURRENT 
  319.     settings of margins and spacing are always used.
  320.          Note that with Auto Format on, certain keystrokes may have additional 
  321.     (or no) effects, due to the instant reformatting afterward.
  322.  
  323. AUTO INDENT (^OA) -  When on, wordwrap or the [Enter] key will cause the 
  324.     cursor, upon moving to the next line, to indent to match any existing 
  325.     indentation on that line (with insert OFF) or the previous line (with 
  326.     insert ON).  Thus any structured indentation you create is maintained.  
  327.     Useful as a temporary (paragraph) indent, or for outlines, program source 
  328.     code, etc.  Works in all modes, including non-document.  Note: Indentation 
  329.     must be done with spaces or variable tabs, NOT with hard tabs.
  330.  
  331. AUTO NUMBER (^K#) -  VDE can automatically number items in a list.  Just type 
  332.     a "#" character where each number in sequence should go, for example:
  333.              #.  First item.
  334.              #.  Second item...
  335.     You can then mark the list off as a block (see BLOCK COMMANDS), and use 
  336.     the ^K# command: VDE will insert the numbers (1, 2, etc) in place of the 
  337.     "#" markers.  You will be asked for the starting number; the default is of 
  338.     course 1.  (Once this is done the markers are gone.  For frequently 
  339.     revised lists, leave the "#" markers in the file on disk; use ^K# just 
  340.     before printing, and do not save afterward.)  If auto format (^OM) is on, 
  341.     text will be realigned to compensate for varying length numbers.
  342.  
  343. AUTO SAVE (^KA) -  When on, VDE saves any changes you have made to disk 
  344.     automatically, at regular intervals.  This ensures that you don't lose too 
  345.     much work if you make a mistake, have a power outage, etc.  ^KA lets you 
  346.     set the interval (1 to 255 minutes), or turn this feature off entirely 
  347.     (0).  Just press [Enter] to restore the default, normally 0.  [This can be 
  348.     changed with VINST.]
  349.          Notes: Auto save does not actually occur during intervals when the 
  350.     keyboard is not in use, or while you are editing another file.  It cannot 
  351.     save untitled files.
  352.  
  353. BLOCK COMMANDS (^KB,^KK,^KH,^KZ,^KY,^KC,^KV,^KW; ^QB,^QK; ^KPB) -  A BLOCK of 
  354.     text is delimited by two markers, set by ^KB (beginning) and ^KK (end), 
  355.     which remain in place until reset elsewhere or deleted.
  356.          Alternatively, you can mark a block by moving the cursor to the start 
  357.     or end, holding down the Shift key, and using the PC arrow keys, [Home, 
  358.     End], or [PgUp,Dn] to move the cursor to the other end of the block, 
  359.     releasing the Shift key when finished.
  360.          ^KH unmarks the block, removing any marker(s).  The block operation 
  361.     commands all require a block to be marked first:
  362.          ^KY goes to and deletes the block (including markers).  (If you want 
  363.     to return the cursor to its position before the deletion, type ^QP.)
  364.          ^KV moves the block (including markers) to the present cursor 
  365.     location; ^KC simply copies it, leaving the original marked.  Any place 
  366.     markers present are not transferred.  (The cursor cannot be IN the block.)
  367.          ^KZ "zooms into" a block: the rest of the text is hidden, and the 
  368.     block is temporarily treated as the entire file.  This can simply isolate 
  369.     one portion of a file for your attention; it can also be done to limit the 
  370.     scope of many VDE commands (^QA, ^B, ^KI...) to that portion.  Use ^KZ 
  371.     again to zoom back out.  In zoom mode: pagination is off; you can use 
  372.     block operations, though any block markers within will disappear when 
  373.     zooming back to the whole file; if you save (^KS), VDE will automatically 
  374.     zoom back out of the block first.
  375.          ^KW writes the block text to a disk file; you will be asked for the 
  376.     filename (and optional mode).  Normally this will overwrite any existing 
  377.     file; however, you can choose instead to append the text at the end of the 
  378.     file, by typing a "+" before the filename:
  379.                   Write to file: GORT        overwrites
  380.                                  +GORT       appends
  381.          ^QB, from wherever you are in the file, moves the cursor to the block 
  382.     start; ^QK moves to the block end.
  383.          ^KPB (^KP with B option) prints the block text only.  (See PRINTING.)
  384.  
  385. DELETING (^G,[Del],^T,^Y; ^QY,^Q[Del],^QT) -  ^G deletes the character at the 
  386.     cursor.  Normally, [Del] or ^[BkSp] deletes the one to the left, and 
  387.     [BkSp] (^H) moves left without deleting.  [Instead, [BkSp] may be instal- 
  388.     led to delete to the left, and [Del] to delete at the cursor.]
  389.          ^T deletes a word to the right (everything from the cursor to the 
  390.     next word break.)
  391.          ^Y deletes the entire current line.  ^QY deletes just the part of the 
  392.     line to the right of the cursor; ^Q[Del] deletes the part to the left.
  393.          ^QT, followed by a character, deletes everything until the next 
  394.     occurrence of that character.  EXAMPLE: ^QT. (period) deletes to the end 
  395.     of the sentence.  Special case: ^QT^M ([Enter]) deletes to the next HARD 
  396.     CR, the end of the paragraph.
  397.          Unintended deletions can be recovered (see UNDELETING).
  398.  
  399. ENVELOPES (^KPA) -  VDE provides an easy way to print a single envelope to 
  400.     accompany a letter, via the "A"ddress option of the print command:
  401.        1.  Begin by moving the cursor to the address of the recipient, and 
  402.     marking this as a block (see BLOCK COMMANDS):
  403.                      {Chester Fludd
  404.                       193 Lakota St         "{}" = block markers
  405.                       Norman, OK  73069}
  406.        2.  Then use the print command (^KP), and at the options prompt, type 
  407.     "A", followed by "1" or "2" to specify the envelope size: 1 for smaller 
  408.     (letter) size envelopes, approx. 3-5/8 x 6-1/2"; 2 for larger (business) 
  409.     size, 4-1/4 x 9-1/2".
  410.        3.  Optionally, you may include a return address for the upper left 
  411.     corner of the envelope: enter this in "double quotes", using a backslash 
  412.     (\) to mark the beginning of a new line.  Example:
  413.                   Options:  A2"Your name\Your street\Your city"
  414.     (You may find it convenient to set up envelope printing with your usual 
  415.     return address as a macro key, if you will use it often.  See MACROS.)
  416.        4.  Load the envelope correctly in your printer, and press [Enter] to 
  417.     print it.  Then you can continue to edit or print the letter itself.
  418.               NOTES: Different printers handle envelope feeding in 
  419.          various ways.  VDE prints the address(es) in the 
  420.          appropriate format; you have to ensure that they wind up on 
  421.          the envelope.  With some dot matrix or wheel printers, you 
  422.          can feed in a single envelope, and manual positioning on 
  423.          the platen may be sufficient.  With other printers, a 
  424.          separate tray is available for envelopes, and you will need 
  425.          to install special codes to select the proper tray.  Many 
  426.          laser printers expect to feed envelopes sideways, so you 
  427.          will need codes to print in a landscape font.  [Any control 
  428.          codes needed to prepare your printer for an envelope can be 
  429.          added with VINST; see PRINTER INSTALLATION.]
  430.               Because of the way laser printers operate in landscape 
  431.          mode, VDE ordinarily prints both size envelopes with their 
  432.          RIGHT edge in the same place.  This means that on other 
  433.          printers, the LEFT edge of the smaller envelope must be 
  434.          placed 3" (30 columns) in from the left margin.  If this is 
  435.          inconvenient, it can be overridden by specifying the left 
  436.          margin option (e.g. "L0") AFTER the "A1" option.
  437.  
  438. FILES (^KL,^KR,^KJ,^KF) -  ^KL loads new file(s) to edit, REPLACING the 
  439.     current one.  (If the file has been modified, you will be prompted to 
  440.     confirm that you mean to abandon it; if you want to load file(s) in 
  441.     ADDITION to the current one, use AltL instead.)  You can enter any number 
  442.     of filenames, with optional modes (see SYNTAX).
  443.          ^KR reads in the contents of a single disk file, inserting the text 
  444.     at the current cursor position.
  445.          ^KJ deletes any disk file you specify.  (If you need more complex 
  446.     file utilities, remember that you can run any DOS command with AltR.)
  447.  
  448.          All these commands prompt for specific filenames.  If you are unsure, 
  449.     or would rather see a directory first, you can call up the FILE BROWSER by 
  450.     pressing [Enter] alone for *.*, or typing a filename with wildcards, like 
  451.     *.LET.  (Note: if you want to load an "untitled" file, press ^J or 
  452.     ^[Enter], instead of [Enter], at the ^KL prompt.)
  453.          The file browser can also be called up directly with ^KF.  You may 
  454.     specify a directory (or ".." for the parent directory) and/or filename 
  455.     mask, and the contents will be alphabetically listed.  (The default, if 
  456.     you just press [Enter], is the directory shown, and all files *.*.)  Files 
  457.     display alphabetically in uppercase, then directories in lowercase.  If 
  458.     there are more items than will fit on screen, you will see "..." to 
  459.     indicate this; the display will scroll as needed.  [Note: display of .COM, 
  460.     .EXE and other unreadable files can be suppressed.]
  461.          To remove the display, press [Esc] or [Space].  But while it is on 
  462.     screen, you can move the cursor through the list with the arrow keys, 
  463.     [PgUp,Dn], or [Home,End]; additionally, a letter "A..Z" may be typed to go 
  464.     to the first file beginning with that letter.  When the cursor is on the 
  465.     selected item, you can press:
  466.           [Enter] to load this file in place of the current one (see ^KL);
  467.              ^L   to load it as an additional file (see AltL);
  468.              ^R   to read it into the current file (see ^KR);
  469.             [Del] to delete this file (be careful; deletion is immediate).
  470.     If the file you want to load/read requires a different file mode, you can 
  471.     first press "/" and the correct mode letter (A,U,N,C,W,5,P,X,M, or space).
  472.          You may also select a directory, in which case you can press:
  473.           [Enter] to view its contents in turn;
  474.             [Del] to remove it (if empty).
  475.  
  476. FIND/REPLACE (^QF,^QA; ^L) -  ^QF is the command to FIND a string.  The search 
  477.     normally proceeds from the cursor position forward, and is case (upper- 
  478.     lower) sensitive.  The character ^_ (Ctrl-underline) functions as a 
  479.     wildcard: it will match any single character.  The single code ^M (CR, or 
  480.     [Enter]) indicates a "newline" in VDE.  Some control codes can be entered 
  481.     directly; some (like ^M) require the ^P prefix.  Graphics characters can 
  482.     be entered using AltG.  Examples:
  483.            Find: ^MLABEL       matches "LABEL" at start of line only;
  484.            Find: p^_^_ce       matches "piece", "peice", etc.
  485.         ^QA is the REPLACE command.  It asks for a string to find, as above, 
  486.     then what to change it to.  Normally, the cursor will move to each 
  487.     occurrence of the string, and you will be asked ("Chg?") whether to change 
  488.     it; answer "Y"es or "N"o, or "*" to change all the rest without asking, or 
  489.     press [Esc] to quit.
  490.          There are several options for find/replace:
  491.            "B" = search Backward through the file;
  492.            "U" = case insensitive search (ignore Upper/lower distinction);
  493.            "G" = search Globally (from start or end of file);
  494.            "A" = Align (reform) paragraphs again after each replacement;
  495.            "N" = No query: replace all instances without asking.
  496.     To skip the options prompt, finish entry of the find string (for ^QF) or 
  497.     replace string (for ^QA) by typing ^J or ^[Enter] instead of [Enter].
  498.          Notes:  "A"lign is assumed by default if auto format (^OM) is on.  
  499.     (Be careful about mixed format files in this situation.)  "N"o query is 
  500.     assumed whenever ^QA is used in a macro.  ["U"ppercase can be set as your 
  501.     default, in which case pressing "U" means case sensitive.]  There is no 
  502.     option for "whole word only" -- begin and end with a space to do this.
  503.          ^L instantly repeats the last find or replace operation; the "B", 
  504.     "U", and "A" options remain as last specified.
  505.  
  506. FOREIGN CHARACTERS -  Characters in the upper ASCII range (128-255), such as 
  507.     the foreign letters and accents, can be entered directly into text using 
  508.     either standard DOS method: one of the DOS KEYBxx keyboard map utilities, 
  509.     or the [Alt] key and numeric keypad (with [NumLock] on, hold down [Alt] 
  510.     while pressing 1,5,5 for character 155).
  511.          VDE treats these characters as "graphics": you are limited to a total 
  512.     of 32 such codes at a time, and any that you have used may be found in the 
  513.     menu brought up by the AltG command.  See GRAPHICS.
  514.  
  515. GRAPHICS (AltG) -  You can enter an IBM graphic (or foreign) character into 
  516.     the file either directly from the keyboard, via [Alt] and the numeric 
  517.     keypad, or with the AltG command.  You will be presented with a menu of up 
  518.     to 32 characters (labeled A-Z,1-6) to choose from; the default set 
  519.     contains some useful box drawing parts, and has room free for other 
  520.     characters that might be loaded.  [It can also be modified with VINST.]
  521.          Any open menu entry can be defined on the spot.  Type "=", then the 
  522.     code (A-6) to change.  You can then select the desired character from the 
  523.     complete graphics set, by moving the cursor to it and pressing [Enter].  
  524.     Alternatively, if you press [Esc], you may enter the extended ASCII code 
  525.     in either hex (2 digits 80-FF) or decimal (3 digits 128-255) format.  
  526.     Example: the Greek alpha can be entered either as "E0" hex or "224" 
  527.     decimal.  Once defined, the graphic can be entered into the file by 
  528.     pressing its menu letter; its definition cannot be changed again during 
  529.     the same editing session.
  530.          NOTE: In addition to the 128 graphics characters, the code ^Z (hex 
  531.     1A, decimal 026) may only be entered as a graphic.  (^PZ embeds not ^Z but 
  532.     a place marker.)  Furthermore, several codes in the range 00-1F,7F (000- 
  533.     031,127) are reserved for internal use; though they can be entered with 
  534.     ^P, they will be represented as graphics.
  535.          CAUTION: If you load a file containing many graphics (or binary data 
  536.     that will be interpreted as graphics), VDE will try to add each in turn to 
  537.     its table.  If the graphics table fills up, any further graphics will be 
  538.     replaced by duplicates of graphic #6.  You will see an error message, and 
  539.     the file will become "untitled", to guard against saving to disk and 
  540.     corrupting the file.  If you frequently work with graphics characters you 
  541.     will want to keep your default table relatively empty to avoid this.
  542.          Graphics are stored in disk files in accord with the current file 
  543.     mode.  Printing of graphics depends on whether your printer font is 
  544.     installed [see PRINTER INSTALLATION] as IBM graphics (PC8) or Roman8, or 
  545.     neither, in which case VDE will "emulate" them, choosing standard ASCII 
  546.     character overstrikes that come as close as possible.  This usually works 
  547.     well, especially for the foreign language characters.
  548.  
  549. HEADER (^OQ) -  The "header" at the top of the screen can be toggled on and 
  550.     off with ^OQ.  [The default can be set either way.]  It provides useful 
  551.     information, but can be removed if you prefer to edit with a screen 
  552.     showing nothing but your text.  It looks like this:
  553.     -----------------------------------------------------------------------
  554.     + VDE.DOC /A      P 14   L 11   C 48    Ins    vt hy AI DS J+ PS " ^K_
  555.                   or (NP/BZ)               (WIn)        (AF)  (MR)
  556.     -----------------------------------------------------------------------
  557.     '+' = Multi-file flag.  Present if other file(s) are being edited.
  558.     'VDE.DOC /A' = Current filename and mode.  The full drive and path 
  559.          information, along with other files being edited, can be displayed 
  560.          with the ^KI command (see INFORMATION).
  561.     'P 14, etc' = Cursor position in file by page (in document modes), line, 
  562.          column.  If pagination is off (^OP0), you will see 'NP' instead of a 
  563.          page number; in block zoom mode (^KZ) you will see 'BZ'.
  564.     'Ins','WIn' = Insert mode (^V) or Word Insert (^]) on.
  565.     'vt' = Variable Tab mode (^OV) on. 
  566.     'hy' = Hyphenation (^OH) enabled.  (Documents only)
  567.     'AI' = Auto Indent mode (^OA) on.
  568.     'AF' = Auto Format mode (^OM) on.  (Documents only)
  569.     'DS' = Double spacing (^OS) on.
  570.     'J+/-' = Right Justification mode (^OJ) on.  (Documents only)
  571.     'MR' = Margins released (^OX).  (Documents only)
  572.     'PS' = Proportional spacing (^OK) on.
  573.       "  = Double quote mark appears during macro recording (Esc").
  574.    '^K_' = Command key prefixes (and some prompts) display here.
  575.  
  576. HYPHENATION (^OH,^P-) -  ^OH toggles hyphenation on and off.  If off, midword 
  577.     hyphens are not treated as wordbreaks.  [The default can be changed.]
  578.          VDE can't hyphenate automatically, but it can recognize hyphens that 
  579.     you type in the text, treating them as a legitimate place to break a line.  
  580.     In addition to ordinary hyphens, "-", there are "soft hyphens" (SHs), 
  581.     which you can enter by typing ^P- (^P,hyphen), and which display in a 
  582.     different color.  SHs indicate optional places to break a long word: they 
  583.     will print as a hyphen when they fall at the end of the line (that is, 
  584.     when actually in use to break a word), but do not print if they wind up in 
  585.     mid-line.  (Note: only WordStar (/W or /5) file modes store soft hyphens 
  586.     as such; when saving to disk in other modes, as in printing, they either 
  587.     become hyphens or disappear, as appropriate.)
  588.  
  589. INFORMATION (^KI,AltI) -  ^KI displays an Information message telling you:
  590.       The full name (including directory) of the current file;
  591.       When it was last saved, and whether (Y/N) it has been changed since;
  592.       Any print toggles (^B,D,S etc) that seem to be mispaired;
  593.       A word count for document files (useful for professional writing);
  594.       The current size of the file in bytes or K (1K = 1024 bytes);
  595.       The number of bytes of memory used and free in this text segment;
  596.       The amount (in K) of memory free to edit further files;
  597.       The names of all other files being edited.
  598.          The AltI command displays the VDE version, date, and copyright.  (An 
  599.     uninstalled copy of VDE does this automatically on startup.)
  600.  
  601. INSERTING (^V,[Ins],^],^_,^N) -  ^V or [Ins] toggles Insert mode on/off, and 
  602.     ^] toggles Word Insert.  When both are OFF, VDE is in overwrite mode: any 
  603.     text to the right of the cursor is replaced as you type.  With Insert (^V) 
  604.     ON, any existing text is instead carried to the right.  With Word Insert 
  605.     (^]) ON, you can type over the letters of a word, but anything you add at 
  606.     the end of the word (when the next character is a space) is inserted 
  607.     without overwriting; this is a handy feature for revising text.  [The 
  608.     default insert status can be changed.]
  609.          The ^_ and ^N commands (insert space, CR) are most useful in 
  610.     Overwrite mode (avoiding the need to turn Insert on and back off).
  611.  
  612. JUSTIFICATION (^OJ) -  ^OJ controls right justification mode, cycling between 
  613.     three states:
  614.               ADD.  ("J+" in header.)  Text paragraphs will be 
  615.          formatted with an even right margin, by inserting extra 
  616.          spaces between words as necessary.
  617.               REMOVE.  ("J-" in header.)  Formatting will undo 
  618.          justification by removing any extra spaces between words, 
  619.          leaving an uneven right margin again.
  620.               OFF.  Formatting does not change spacing of text; 
  621.          right margin is left uneven.
  622.     Thus the Reform (^B) command can justify or de-justify text as desired.
  623.          Right-justified text should not be saved to disk in file mode /U 
  624.     (which has no margin structure) or in modes /X, /M, or /P (because 
  625.     XyWrite, MS Word, and WordPerfect will not recognize VDE's method of 
  626.     justification).
  627.          Justification does not work with proportional spacing (^OK).
  628.  
  629. LINE SPACING (^OS) -  ^OS toggles between single and double line spacing.  In 
  630.     double space mode, the following functions generate double carriage 
  631.     returns: [Enter] (^M), Insert CR (^N), Reform (^B), Wordwrap.  You can 
  632.     easily mix single and double spacing; ^B can convert between the two.
  633.          Note: a single-spaced file can also be printed out double-spaced with 
  634.     the "D" option of the ^KP command (see PRINTING).
  635.  
  636. MARGINS (^OR,^OL,^OX,^OC,^OF) -  ^OR sets the Right margin, and enables text 
  637.     formatting.  At the prompt, enter the column number (up to 255), or just 
  638.     press [Enter] for the current cursor column.  (Note: in proportional mode 
  639.     (^OK), the number is interpreted in 1/10" instead of characters.)
  640.          ^OL similarly sets the Left margin column; the value must be less 
  641.     than the right margin.  (^OL is normally used for indenting selected 
  642.     paragraphs.  To leave blank space at the left of the page throughout when 
  643.     PRINTING, see the "L" option of the ^KP command, or the left margin 
  644.     setting in PRINTER INSTALLATION.)
  645.          "Wordwrap" is automatic in all document modes whenever the margins 
  646.     are set: anything typed before the left margin will move up to it; 
  647.     anything typed past the right margin will wrap over to the next line.  
  648.     (See also REFORMAT and AUTO FORMAT.)  Wordwrap and formatting are disabled 
  649.     if the right margin is set to 1, or while margins are released (^OX).
  650.          (NOTE: Margins cannot be set in /N (nondocument) mode; a left margin 
  651.     cannot be set in /X, /U, or /M mode.)
  652.          ^OX toggles margin release, allowing you to type outside them.
  653.          ^OC Centers the current line with respect to the margins; ^OF sets 
  654.     the line Flush right.  The cursor advances to the next line.
  655.  
  656. MATCHING FILES (AltM) -  This command can locate small differences between two 
  657.     largely similar files (perhaps an earlier and a later revision of your 
  658.     work).  You must first load these two files (AltL), then split the screen 
  659.     between them (AltW), and position the cursor in corresponding places in 
  660.     both files (for example, the top).
  661.          Then press AltM.  Starting from these positions, VDE searches for any 
  662.     difference between the files.  If there is one, VDE will stop on those 
  663.     lines, showing the disagreeing passages side by side.  If you want to 
  664.     continue, press AltM again.  (If the difference was significant you may 
  665.     first need to reposition one cursor to match the other.)  If the cursor 
  666.     winds up at the end of both files, they match.
  667.          Note: in document modes, AltM compares word by word, ignoring mere 
  668.     formatting differences (margins, spacing etc).  In /N mode, it is an exact 
  669.     character by character comparison.
  670.  
  671. MOVING AROUND (Arrows; ^F,^A,^C,^R; ^QE,X,S,D; ^QR,C; ^QI,^QL,^QN,^QP; AltO) -  
  672.     VDE supports two sets of Arrow keys, which function interchangeably: the 
  673.     four arrow keys [^,v,<,>] on the IBM keyboard, and the WordStar "diamond" 
  674.     ^E,^X,^S,^D.  These keys move the cursor one unit up, down, right, and 
  675.     left respectively.  There are many other movement commands as well:
  676.          ^F or ^[>] moves right, to the start of the next word; ^A or ^[<] 
  677.     moves left, to the start of the current (and then previous) word.  ^C or 
  678.     [PgDn] scrolls forward (down) one screen; ^R or [PgUp] scrolls backward 
  679.     (up) one screen.
  680.          Preceded by ^Q, any arrow key moves more Quickly: thus ^QE, ^QX go 
  681.     to the top or bottom of the screen; ^QS, ^QD to the left or right end of 
  682.     the line.  Similarly, ^QR and ^QC scroll all the way to the beginning or 
  683.     end of the file, respectively.
  684.          ^QI moves directly to a given page (for documents) or line (for non- 
  685.     documents).  In documents, ^QL and ^QN move to the start of the Last or 
  686.     Next page, respectively.
  687.          ^QP returns the cursor to its Previous position -- before the last 
  688.     large movement occurred.  (This means AltM,AltO,^B,^QR,^QC,^QF,^QZ,^QB, 
  689.     ^QK, and any other command that moves to the block location via ^QB.)  ^QP 
  690.     can be used again to cycle between these two positions in the file.
  691.          AltO displays an Overview bar at the top of the screen.  The length 
  692.     of the bar corresponds to the filesize, and the current position is marked 
  693.     so you can see where you are.  You can move the place marker left or right 
  694.     with the arrow keys; the cursor remains in the original (current) 
  695.     position.  To move to the selected position, press [Enter]; press [Esc] 
  696.     instead to cancel.
  697.  
  698. MULTIPLE FILES (AltL,AltB,AltN,AltX,AltQ,AltC,AltP) -  VDE allows you to edit 
  699.     up to 8 files simultaneously, if you have enough memory.  This can be done 
  700.     from the command line, by giving a list of several filenames.
  701.          Otherwise, to Load additional files, press AltL.  You can enter any 
  702.     number of filenames, with optional modes (see SYNTAX); for an untitled 
  703.     file, press ^J or ^[Enter].  You can also access the file browser with 
  704.     [Enter] or wildcards (see FILES).  (You will get an error message if you 
  705.     run out of memory, or are already editing the named file, or 8 files.)
  706.          Once multiple files are in use, AltB and AltN can be used to cycle 
  707.     back and forth through the files being edited.  If you Quit or Exit 
  708.     (^KQ,^KX) from one file, you will be returned to the previous one.
  709.          For convenience, AltX exits ALL files immediately, saving any changes 
  710.     made.  AltQ quits ALL files immediately, without saving; if any of them 
  711.     have been modified, you will be prompted (just once) to confirm this.
  712.          AltC Cuts a marked block of text, placing it in a buffer for later 
  713.     recovery.  (The original remains, unless you delete it with ^KY.)  AltP 
  714.     Pastes in the previously cut text at the cursor position, allowing block 
  715.     copying and moving between files.)
  716.          It is possible to view two files on screen at once (see WINDOWS).
  717.  
  718. PAGE PREVIEW (^OD) -  This command shows you a preview of the text as it would 
  719.     print: with all non-printing codes (markers, ^P codes, etc) hidden, and 
  720.     page breaks indicated by a row of dotted lines.  This is handy for making 
  721.     sure that text is aligned properly, and will help you avoid wasting time 
  722.     and paper on unacceptable printouts.  You can scroll through the file in 
  723.     this mode with [PgUp,Dn] or ^R,^C; or move to the top or bottom, with 
  724.     ^[Home,End].  Press [Esc] to continue editing.
  725.  
  726. PAGINATION (^OP,^PL) -  The ^OP command sets the page length.  Enter a value 0 
  727.     to 255 lines, or just press [Enter] to restore the default [normally 56].
  728.          When the value is nonzero, it determines the page and line shown in 
  729.     the document header ("P xx L xx"), and all page functions in the Print 
  730.     routine (pagination, headers, start/stop at page) are enabled.  A formfeed 
  731.     will be sent to eject each page.  [VDE does not send a formfeed before 
  732.     printing; install one in your printer initialization if you want.]
  733.          When the value is zero, pagination is off.  The header will say "NP 
  734.     L xxxx", showing you the absolute line number in the file; printing 
  735.     occurs with no page breaks.  (This is useful for printing small things 
  736.     right after each other on the same sheet; or, in conjunction with the "*" 
  737.     option, multiple copies of index cards, labels, etc.)
  738.          The ^PL command embeds a formfeed (^L) in the text, to begin a new 
  739.     page; the best place to put it is at the beginning or end of a line.
  740.  
  741. PARAGRAPH INDENT (^OG) -  Of course you can indent text simply by changing the 
  742.     left margin (^OL), but there are times when you want only a temporary 
  743.     indent.  ^OG gives a "paragraph indent"; each time you use it, the left 
  744.     margin is reset to the next tab stop over (see TABS).  The indentation 
  745.     lasts until you type the [Enter] at the end of the paragraph (or use the 
  746.     ^B or ^OL commands), at which time the original left margin is restored.
  747.  
  748. PLACE MARKERS (^PZ,^QZ) -  You can set any number of temporary place markers 
  749.     in the text with ^PZ (they display as a highlighted "Z").  The ^QZ command 
  750.     moves the cursor to the next place marker in the file, cycling back to the 
  751.     top of the file as needed.  (Place markers are NOT saved to disk.)
  752.  
  753. PRINT STYLES/CODES (^P) -  This command prefix is used to enter various 
  754.     "codes" in the ASCII range 00-1F into the text, usually for purposes of 
  755.     printer control.  Most codes are entered in a standard fashion: ^PA embeds 
  756.     ^A, etc.  Those with defined functions in VDE documents display as 
  757.     highlighted letters ("A" etc); the rest (all, in non-documents) display as 
  758.     graphics.  It is possible to embed the code ^Z (hex 1A) in a file, but 
  759.     only via AltG (see GRAPHICS), since ^PZ gives a place marker.  (Use 
  760.     caution; many programs treat the actual ^Z code as an end of file mark.)
  761.          Several other common control codes produce special effects:
  762.           ^P^I - hard (ASCII) tab - printers respond variously to this
  763.             ^L - formfeed - will cause a page break
  764.             ^H - backspace - overstrike previous character
  765.             ^M - carriage return - enter a CR without a LF to overstrike line
  766.                   (do NOT hit [Enter] again after this, just continue typing)
  767.     The further codes below operate only in documents.
  768.          ^P^G causes printing to pause, with "^PG" in the display, until you 
  769.     press [Enter] to continue.  This allows you to adjust the platen for 
  770.     printing various forms.  (Note: on many dot matrix printers, can only be 
  771.     used at the start of a line.)
  772.          ^PEsc or ^P[ can be used to embed the "Escape" code (hex 1B) in a 
  773.     file if desired.  But these are most commonly used for printer control, 
  774.     and VDE offers a much simpler way of doing this.  In place of complex 
  775.     "escape sequences" for print styles (underlining, etc) in document files 
  776.     VDE lets you enter a single marker, which will be translated into the 
  777.     proper codes during printing.  VDE supports a set of 13 codes for this 
  778.     purpose: seven toggles, six switches.  [See PRINTER INSTALLATION on how to 
  779.     install the proper driver for your printer.  Otherwise, only ^PS and ^PX 
  780.     will work.]  The conventional WordStar meanings of these codes are:
  781.        Toggles: ^P^B  boldface        Switches: ^P^Q  (user def 1)
  782.                   ^D  ("doublestrike")            ^W  (user 2)
  783.                   ^S  underline                   ^E  (user 3)
  784.                   ^Y  italic ("ribbon")           ^R  (user 4)
  785.                   ^T  superscript                 ^A  alternate pitch
  786.                   ^V  subscript                   ^N  standard pitch
  787.                   ^X  strikeout [has no installation]
  788.     But you can use them for anything you like.  "Toggles" are good for 
  789.     features like underlining that are turned on and off; enter them in pairs, 
  790.     to mark the beginning and end of the desired text.  "Switches" are better 
  791.     for multi-valued parameters like character pitch; enter them once.
  792.          If toggles are not properly paired, you will find print effects 
  793.     continuing throughout the rest of your document.  To save time and effort, 
  794.     use the ^KI command to check for this before printing.  (If an "S" appears 
  795.     under the "^Check" heading, there is an unpaired ^S somewhere.)
  796.  
  797. PRINTER DRIVERS (AltV,AltU) -  Since many people use more than one kind of 
  798.     printer, VDE accomodates two different printer drivers, a primary and an 
  799.     alternate.  Before printing a file, you can select which one is active 
  800.     using AltV.  [You can change both drivers with VINST.]
  801.          AltU gives you access to an unlimited number of further printer 
  802.     drivers in the form of .VDP disk files; select "L"oad, then type the file 
  803.     name.  [See PRINTER INSTALLATION for instructions on how to create such 
  804.     files.]  The new driver will replace the previous primary.
  805.  
  806. PRINTING (^KP) -  The ^KP command Prints the file from memory.  You will be 
  807.     asked for a set of "Options:", at which point you may enter one or more of 
  808.     the following, in any order:
  809.        '...'  sends a string of printer control commands before printing 
  810.             begins.  These must be entered in ASCII format: type in the ACTUAL 
  811.             characters or control codes.  If the command is "Esc A" (1B 41 
  812.             hex), type "Esc","A".  (For control codes, 01 = ^A, 02 = ^B, etc.  
  813.             Some will require the ^P prefix: 00 (^@) = ^P@, etc.  You may 
  814.             find an ASCII table helpful; see PRINTER INSTALLATION.)
  815.  
  816.        Tnn    sets a TOP MARGIN skip of nn lines.     [The default margins can
  817.        Lnn    sets a LEFT MARGIN skip of nn columns.    be set with VINST.]
  818.        D      DOUBLESPACES the printout.
  819.        ^      FILTERS control codes (like ^X) so they print out as text "^X".
  820.        *nn    prints the entire job out nn TIMES (nn=1...255).
  821.        B      prints only the currently marked BLOCK.
  822.        (FILENAME)   redirects printer output to a disk file.  All print 
  823.             control codes will go into the file just as they would have been 
  824.             sent to your printer.  If you want to append the output to an 
  825.             existing file, type a "+" before the name: (+FILENAME).
  826.        A      ADDRESSES an envelope; see ENVELOPES.
  827.  
  828.        N      NUMBERS pages sequentially, at top right.
  829.        C      numbers pages at bottom CENTER.
  830.        "..."  uses the quoted string as a HEADER.  The string will print at 
  831.             the top right unless it begins with a "<" character, in which case 
  832.             it prints at the left.
  833.               Note: you can include the current Filename, Time or Date in the 
  834.             header simply by entering ^F, ^T, or ^D, respectively.
  835.        S      SUPPRESSES the header/page number on the first page of output.
  836.        F      prints FACING pages (header/number reversed on even pages).
  837.        O,E    prints only Odd or Even pages (print one, then run the paper 
  838.             back through and print the other, for double-sided printing).
  839.        P      PAUSES for your keystroke before each page prints (sheet feed).
  840.        @nn    begins printing AT page nn of the document.
  841.        #nn    prints only (up to) a TOTAL of nn pages.
  842.        =nn    RENUMBERS the printout to start at page nn.
  843.     (The paging options (T,N/C,"...",S,F,O/E,P,@,#,=) will NOT work if the 
  844.     page length is set to 0 (^OP), or if 'B'lock print was chosen.  'C' cannot 
  845.     be used together with 'N'.)
  846.  
  847.               EXAMPLE 1:      Options:  "<STATUS REPORT: ^D" N F
  848.     will put a header like "STATUS REPORT: 10/19/90" at the top left of each 
  849.     page, and the page number at the top right (vice versa on even pages).
  850.               EXAMPLE 2:      Options:  L12 #1
  851.     will print one page only, with an added left margin of 12.  (Printing a 
  852.     single page is a good check of page layout before going ahead to print a 
  853.     long file.  To continue at page two, of course, use Options:  @2.)
  854.               EXAMPLE 3:      Options:  BD(+SCRATCH)
  855.     will append the print output of the current marked Block, double spaced, 
  856.     to the disk file SCRATCH.
  857.  
  858.          NOTES:  The left margin setting (via "Lnn" or VINST) is in columns, 
  859.     and its physical width will vary according to the font in use.  If you 
  860.     need a fixed margin, it is better to find your printer's Esc command for a 
  861.     left margin setting in inches or dot columns, and add this to your printer 
  862.     initialization string.
  863.          If you are in /W or /5 file mode, any WordStar dot commands in the 
  864.     file (lines beginning with ".") will not be printed.
  865.          You can abort printing at any time by pressing [Esc].
  866.  
  867. PROPORTIONAL SPACING (^OK) -  Normally VDE assumes a fixed pitch font: one 
  868.     character equals one print column.  Yet if your printer has a proportional 
  869.     font, you can get VDE to use it, and to format text so that it will print 
  870.     with more appropriate margins.  With ^OK on, your printer will be put in 
  871.     proportional mode when printing (^KP); and all wordwrap and reformatting 
  872.     (^B,^OC,^OF) will take advantage of a table of varying character widths, 
  873.     resulting in a better aligned printout.
  874.          In proportional mode, the right margin needs to be interpreted in 
  875.     inches rather than characters, based on a conversion of 10 cpi, so that a 
  876.     right margin (^OR) of 70 means 7.0".  (Note: characters may well extend 
  877.     beyond the 70th column.)
  878.          [See PRINTER INSTALLATION to install codes for proportional mode on 
  879.     your printer, and CHARACTER WIDTHS to adjust the width table.]
  880.  
  881. REFORMAT ([Enter],^B;^OB) -  In documents, pressing [Enter] creates a 
  882.     permanent or "hard" Carriage Return marking the end of a paragraph.  (This 
  883.     is a CR without a preceding space; wordwrap creates a removable "soft CR", 
  884.     preceded by a space.  See TEXT FORMATTING.)
  885.            ^B reformats the paragraph the cursor is in according to the 
  886.     current margin settings and line spacing.  (Thus ^B is used not only to 
  887.     reshape a paragraph after editing, but also to change its format in 
  888.     various ways: see MARGINS, JUSTIFICATION, LINE SPACING.)  If the top line 
  889.     is indented relative to the next one, VDE preserves that as paragraph 
  890.     indentation.  To reformat an entire file use the MACRO command (Esc[) to 
  891.     repeat ^B.  (See also AUTO FORMAT.)
  892.          ^OB toggles display of hard CRs, which are normally marked by a left- 
  893.     arrow character in document files, to distinguish them from soft ones.  If 
  894.     you find this distracting, it can be turned off.
  895.  
  896. RULER LINE (^OT) -  To help you align text properly, ^OT displays a "ruler 
  897.     line" above the text.  Type ^OT again to remove it.  A moving pointer 
  898.     indicates the current column.
  899.          In each column you will see one of several symbols: the arrow "v" is 
  900.     the cursor column; "L,R" designate the current margins; "." indicates 
  901.     areas outside the current margins, "-" within them.  Also, tab stops are 
  902.     marked by either "!" (Variable) or ":" (Hard).  Examples:
  903.         (/A mode)      L-----!---!----------v--!--------------R........
  904.         (/N mode)      :.......:.......:....v..:.......:.......:.......
  905.  
  906. RUN COMMAND/SHELL (AltR) -  AltR lets you run DOS commands without leaving 
  907.     VDE.  An imitation DOS prompt is produced (e.g., "C:\WORK>"); you can copy 
  908.     or rename files, or run any other program you like, and afterwards VDE 
  909.     will prompt you to "Press [Esc]", which will return you to your undis- 
  910.     turbed VDE editing session.
  911.          In addition, you may type "SHELL", which lets you out into what is 
  912.     known as a Command Shell: you are actually back IN DOS, and can use any 
  913.     number of commands or move around as you like; when through, you need to 
  914.     type the DOS command EXIT to return to VDE.
  915.          Caution: don't load new memory-resident utilities from within the 
  916.     AltR command; this fouls up the DOS memory allocation.
  917.          To use AltR, you must have enough free memory to load and run the 
  918.     chosen program; and VDE must be able to find COMMAND.COM in order to 
  919.     execute it, via the COMSPEC environment variable.  Be sure either that 
  920.     your AUTOEXEC.BAT file includes a line like
  921.                         SET COMSPEC=C:\COMMAND.COM
  922.     or that your CONFIG.SYS file includes a line like
  923.                         SHELL=C:\COMMAND.COM C:\ /P
  924.     (In either case replace "C:\" with the appropriate directory.)
  925.  
  926. SAVE/EXIT (^KE,^KS,^KX,^KD,^KQ) -  ^KE renames your work, allowing you to 
  927.     change to a new filename (and/or new directory or file mode) before 
  928.     saving.  If you enter a new directory or file mode alone, that change will 
  929.     be made, while the filename remains the same.  (Note: If you want to make 
  930.     your work "untitled", press ^J or ^[Enter], instead of [Enter], at the 
  931.     prompt.)
  932.          ^KS saves your work so far, writing the file to disk under the 
  933.     filename in the header.  (If it's "untitled", a new name will be 
  934.     requested.)  If the file has not been modified, you will be prompted to 
  935.     confirm that you meant to save it again anyway.
  936.          For safety, a copy of the existing file is preserved as a BACKUP FILE 
  937.     (with extension ".BAK") each time you save changes.  [If you prefer not to 
  938.     use BAK files, you can suppress their use with VINST.]
  939.          There are several different commands for finishing up:
  940.          ^KX saves your work (if modified), and then EXITS to DOS.
  941.          ^KD saves your work, then loads a new file to edit.
  942.          ^KQ just QUITS, without saving to disk.  If the file has been 
  943.     modified, you will be prompted to confirm that you meant to do this!
  944.  
  945. SCREEN CONTROLS (^W,^Z; Esc[^,v,<,>]; ^OE,^OZ) -  VDE provides a number of 
  946.     commands to control the display screen:
  947.          ^W and ^Z scroll the screen up and down a line at a time, without 
  948.     moving the cursor in the text (unless necessary).
  949.          Preceded by [Esc], any arrow key also causes the screen to scroll: 
  950.     up/down by 1/4 screen, or right/left 32 columns.  Again, the cursor is not 
  951.     moved unless necessary.  (The screen cannot shift rightward past the end 
  952.     of the current line.)
  953.          ^OE makes the current line the top of the screen.
  954.          ^OZ temporarily blanks the entire screen; good for avoiding CRT burn- 
  955.     in, or just protecting work from prying eyes or fingers.  Restore the 
  956.     screen by pressing [Esc].  This is also useful if some other software 
  957.     (like a resident utility) has messed up the screen: type ^OZ,Esc and VDE 
  958.     will completely restore it.
  959.  
  960. SCREEN SIZE (AltA,AltE) -  On IBM compatible systems, VDE automatically adapts 
  961.     to any size text screen currently in use (minimum: 40 columns, 8 lines).  
  962.     This means that (1) VDE will run on laptop/palmtop computers with small 
  963.     displays, and (2) visually impaired users can use the DOS command MODE 
  964.     CO40 to edit with a 40 column large-type screen.  When running with fewer 
  965.     than 80 columns, VDE omits toggle indicators from the header; also, some 
  966.     menus remain in 80-column format, and can be scrolled horizontally by 
  967.     pressing the right and left arrow keys while they are on screen.
  968.          On IBM EGA/VGA video systems, you can use your own software (like the 
  969.     popular UltraVision program, or any utilities that may have come with your 
  970.     video adapter card) to change the font or screen size (lines,columns) 
  971.     before running VDE, or even while editing (via the AltR command).  VDE 
  972.     also offers two internal commands to vary screen size:
  973.          AltA changes the screen width, toggling between normal (80-column) 
  974.     mode and wide (132-column) mode.  It can be used alone, or in combination 
  975.     with AltE.  This command works ONLY with certain brands of video cards 
  976.     which offer 132 column displays [see INSTALLATION to specify yours], or if 
  977.     you are running UltraVision with a card that supports its 132 column mode.
  978.          AltE changes the screen length, varying the number of text lines 
  979.     displayed.  In its most basic form it simply toggles between normal 25- 
  980.     line mode and a compressed mode of 43 (EGA) or 50 (VGA) lines.  But when 
  981.     possible (with VDEOPT.DAT present or under UltraVision), it displays a 
  982.     prompt offering a wider range of sizes:
  983.               with VDEOPT.DAT  VGA - 20,25,28,33,40,50,57 lines
  984.                                EGA - 17,25,29,35,43,50    lines
  985.               with UltraVision VGA - 25,36,50,60/63 lines
  986.                                EGA - 25,34,43,60    lines
  987.     You can enter a letter code A-G, or [Enter] for your default value [which 
  988.     can be changed with VINST].  Larger text is easy on the eyes; smaller text 
  989.     can pack a whole page of text into one screen.  To make this range of 
  990.     sizes available (without UltraVision), the VDEOPT.DAT file must be in the 
  991.     current or VDE directory (set with the SET command -- see DIRECTORIES).
  992.  
  993. SPLITTING FILES (AltS) -  If you encounter a text file that is too large for 
  994.     VDE to load and edit, you can divide it into manageable chunks with the 
  995.     Split command.  You will be prompted for the name of the file to split; 
  996.     VDE will divide it in pieces whose names have a number added at the end of 
  997.     the file name.  Example: BIG.DOC will split into BIG1.DOC, BIG2.DOC, etc, 
  998.     each of which you can edit separately.  After 9, the numbers continue with 
  999.     letters A..Z.  (The original file also remains on disk.)
  1000.          If necessary, the files can later be reassembled into one with the 
  1001.     DOS COPY command, for example:  COPY BIG1.DOC+BIG2.DOC BIG.DOC.
  1002.  
  1003. TABS ([Tab],Shft[Tab]; ^OV,^OI,^ON; ^PI,Esc[Tab]) -  There are two Tab modes, 
  1004.     Variable and Hard; ^OV toggles between them.  In Hard Tab mode the Tab key 
  1005.     produces an actual ^I (ASCII TAB) character.  Hard Tabs display at fixed 
  1006.     intervals [normally 8 columns; optionally 4 or 16].
  1007.          In Variable Tab mode (the default for documents), the Tab key moves 
  1008.     to the next tab stop set.  The cursor moves over any existing text; spaces 
  1009.     are added at the end of a line if needed.
  1010.          Up to eight tab stops may be set with ^OI, or cleared with ^ON; the 
  1011.     defaults are in columns 6, 15, 35, and 55.  [These can be changed.]  Both 
  1012.     commands prompt for a column number, or you can press [Enter] for the 
  1013.     cursor column.  The Set command ^OI also accepts two options, both of 
  1014.     which replace all previous tab settings:
  1015.               @nn           Set tabs every "nn" columns
  1016.               #n1,n2,...    Set tabs to columns "n1,n2,..."
  1017.     You can simply clear all variable tabs by typing "@" or "#" alone.
  1018.          The Shft[Tab] command tabs backwards (left to the previous stop), 
  1019.     useful for moving around in tables, etc.
  1020.          You can always get a Hard Tab with ^PI, or a Variable Tab with 
  1021.     Esc[Tab], no matter which tab mode you are in.
  1022.  
  1023. TIME/DATE (AltT,AltD) -  VDE can read the DOS system clock and insert the 
  1024.     current time and date in your file automatically.  Just press AltT for the 
  1025.     Time, or AltD for the Date.  The string will appear at the current cursor 
  1026.     location, as though you had typed it in yourself: for example,
  1027.               1:21 PM            [or 13:21 -- VINST selects the format]
  1028.               January 15, 1988   [or 1/15/88, 15 January 1988, 15.1.88]
  1029.  
  1030. UNDELETING (^U) -  The undelete function can be used to recover accidentally 
  1031.     deleted text or overstruck characters.  The lost text will be replaced at 
  1032.     the current cursor location.  ^U may be used repeatedly to undo a sequence 
  1033.     of deletions, recovering each character, word, or line in order.  (Once 
  1034.     all deleted text is restored, ^U does nothing.)
  1035.          Exception: block deletions cannot be recovered sequentially, they 
  1036.     must be undeleted immediately (before any other deletion occurs).
  1037.          Undeletion can also be used as a sort of quick-and-dirty block move.  
  1038.     For example, if the cursor is at the start of a word, the commands ^T^F^U 
  1039.     (which of course can be assigned to a macro key) will swap that word with 
  1040.     the one following it.  Similarly, ^Y^X^U will swap two lines.
  1041.  
  1042. UPPER/LOWER CASE (^^; ^K",^K',^K^) -  ^^ (Ctrl-caret or 6) reverses the case 
  1043.     of the character at the cursor, if it was a letter, and moves to the next.
  1044.          The ^K^ (^K-caret) command reverses all text in a marked block (see 
  1045.     BLOCK COMMANDS); ^K" makes all text in the block uppercase, ^K' lowercase.
  1046.  
  1047. WINDOWS (^OW; AltW,AltF; ^[PgUp,PgDn]) -  VDE can split the screen into two 
  1048.     windows, showing either two parts of the same file or two different files.  
  1049.     In either case, AltF moves the cursor back and forth between the two 
  1050.     windows.  ^[PgUp] and ^[PgDn] scroll BOTH windows in synchronization.
  1051.         ^OW is used in a SINGLE file; it creates a window in the bottom half 
  1052.     of the screen, duplicating the current file text.  You can move to a 
  1053.     different place in the file within this window, and continue editing, with 
  1054.     the original text still in view in the top window.  (Note: any 
  1055.     modifications made to the file will not be reflected in the inactive 
  1056.     window until you return to it.)  Type ^OW again to undo windowing.
  1057.         AltW splits the screen Window between two DIFFERENT files being 
  1058.     edited, showing you both at once.  Type AltW again to undo.
  1059.  
  1060.  
  1061. ================================  4. MACROS  =================================
  1062.  
  1063.  
  1064. FUNCTION KEYS ([F1]...[F12]) -  Up to 48 macros can be assigned to function 
  1065.     keys; they can then be recalled and used with one keystroke.  Each IBM 
  1066.     function key can be used alone or with Shift, Ctrl, or Alt, to produce:
  1067.                     [F1]...[F10]  =  F01...F10 in VDE notation
  1068.               Shift-[F1]...[F10]  =  F11...F20
  1069.                Ctrl-[F1]...[F10]  =  F21...F30
  1070.                 Alt-[F1]...[F10]  =  F31...F40
  1071.     And, if you have an Enhanced (101-key) AT keyboard, also:
  1072.              [F11],[F12]  =  F41,F42         Ctrl-[F11],[F12]  =  F45,F46
  1073.        Shift-[F11],[F12]  =  F43,F44          Alt-[F11],[F12]  =  F47,F48
  1074.     VDE comes with [F1] set as a "Help" key (^J), but this can be changed.
  1075.          Otherwise, function keys are defined (with the Esc[ or Esc] command, 
  1076.     or with VINST) and used exactly like macro keys.  See MACRO KEYS.
  1077.  
  1078. KEY DEFINITION FILES (AltU) -  These files save sets of macro key or function 
  1079.     key definitions, and should be given file types of ".VDK" and ".VDF", 
  1080.     respectively.  You can load any key file, along with your text file(s) to 
  1081.     edit, from the command line (see SYNTAX).
  1082.          AltU can be used while editing: it will ask whether you want to 
  1083.     "L"oad or "S"ave such a file, then prompt for the name of the file.  The 
  1084.     filetype MUST be ".VDK" or ".VDF", and will determine whether MACRO or 
  1085.     FUNCTION keys are affected.  If you load such a file, those definitions 
  1086.     will replace any previous ones.  If you save, the current definitions will 
  1087.     be written to the file.  [Key files can also be created or installed as 
  1088.     defaults in your copy of VDE, using VINST.]
  1089.  
  1090. MACRO DEFINITION AND USE (Esc[,Esc]) -  To DEFINE a macro, type Esc[.  You 
  1091.     will be asked for the macro definition; then, whether to Use or Store it.  
  1092.     (On storing, see MACRO and FUNCTION KEYS.)  You may want to plan the macro 
  1093.     first with pen and paper.  If you Use the macro, you need to decide 
  1094.     whether you want it to repeat (and if so how many times), and whether you 
  1095.     want to watch it happen or not.
  1096.             VDE asks "Make Quiet, No-repeat, Both?"  Reply "Q" for 
  1097.          Quiet (fast) operation, or press [Enter] for visible (slower) 
  1098.          execution.  (The "N" option is intended for storing keys, 
  1099.          but can also be typed here to skip the next question.)
  1100.             VDE asks "Repeat count?"  Type the number of times to 
  1101.          execute (0-254), or just [Enter] for 1; or "*" to repeat 
  1102.          indefinitely.
  1103.         Normally, you can see the results as the macro executes, and you can 
  1104.     abort it at any time by pressing [Esc].  If you choose to speed up macro 
  1105.     execution by specifying "Q"uiet mode, only the header will be updated as 
  1106.     the macro runs.  (Don't do this if the macro concludes by requesting user 
  1107.     input -- the necessary prompts would not display!)
  1108.          Macros will stop if an error occurs; the error message will be 
  1109.     visible, and can be cleared by pressing Esc.  Many commands (like Find or 
  1110.     Reformat) are designed to generate errors at the end of the file so that 
  1111.     an indefinite ("*") macro containing them will halt there.  Other indef- 
  1112.     inite macros may need to be aborted manually.  (Exception: Esc$ can change 
  1113.     error handling.  See MACRO PROGRAMMING.)
  1114.          Once defined, a macro can be re-used with the Esc] command, which 
  1115.     again gives you the options to Use or Store the previously defined macro.
  1116.  
  1117.          EXAMPLES:  Note -- for clarity, macro examples will be given here as 
  1118.     they function, not as they are typed in; remember that you will need to 
  1119.     add ^P prefixes for certain control keys ([BkSp] (^H), [Enter] (^M), ^J, ^X, 
  1120.     ^U, ^P).  Keystrokes are often separated by spaces for clarity; the "_" 
  1121.     symbol is used to represent an actual space character typed.
  1122.             1.  Reformat an entire file: after Esc[, just enter
  1123.                                   ^B
  1124.          Specify Quiet and indefinite repeat as options ("Q,*").
  1125.             2.  View a file by scrolling slowly through it:
  1126.                                Esc; ^Z   (or ^C)
  1127.          This pauses, then scrolls down.  (Again, repeat with "*".)
  1128.             3.  Macros are quite powerful.  Can you figure out what 
  1129.          this one does, if entered with indefinite repeat "*"?
  1130.                 ^QR ^QF(^J ^G ^KB ^QF)^J ^G ^KK ^QC [Enter] ^KV
  1131.          (It takes all phrases in parentheses out of a file, making 
  1132.          a list of them at the end of the file.)
  1133.  
  1134.          TECHNICAL NOTE: Ordinarily macros are completely self-contained, and 
  1135.     NEVER request input from the keyboard while executing.  There is one 
  1136.     exception: using AltR to run a program from a macro is tricky.  Input 
  1137.     while in the program or shell must be typed by you.  (VDE resumes control 
  1138.     only when the program ends.)
  1139.  
  1140. MACRO KEYS (Esc0...Z) -  Both the Esc[ and Esc] commands also give the option 
  1141.     of Storing the macro definition to a key.  Up to 36 of these can be stored 
  1142.     on keys 0...9,A...Z; they can then be called up with two key-strokes.  (48 
  1143.     more can be stored on IBM function keys; see FUNCTION KEYS.)  Example: if 
  1144.     stored to key 3, a macro can be reused simply by typing Esc3.
  1145.             VDE asks "Make Quiet, No-repeat, Both?"  Reply "Q" for a 
  1146.          key that executes in Quiet (fast) mode; "N" for a key that 
  1147.          runs once, without asking for a repeat count; or "B" for 
  1148.          both of these.  Press [Enter] instead for a key that executes 
  1149.          just like the "use macro" option, visibly, asking for a 
  1150.          repeat count first.
  1151.             VDE asks "Store to key?"  Press the desired key: a 
  1152.          number 0...9 or letter A...Z for a Macro key (Esc0...Z), or 
  1153.          a Function key like [F3], Alt[F9], etc.
  1154.     Again, don't choose "Q"uiet for a key that will request input from you.
  1155.          There is a total of about 974 bytes available for all 36 keys, and a 
  1156.     128 byte limit for any one key.  (VDE's own input line is of limited 
  1157.     width, but VINST can handle up to the full 128.)  Trying to use an 
  1158.     undefined key results in an error.  You can delete a key definition by 
  1159.     entering an empty macro string (Esc[, [Enter]) and storing it to the key.
  1160.          Keys defined with Esc[ or ] last only during the current editing 
  1161.     session (VDE.COM itself is not modified).  [VINST lets you install 
  1162.     definitions permanently; see DEFAULT MACRO KEYS.]
  1163.  
  1164.          EXAMPLES: Keys are useful for storing a frequently repeated phrase; 
  1165.     "EscW" is much more convenient than "World Wide Widgets Ltd. (N.A.)".  You 
  1166.     might also use several for sets of margins, like: ^OL 5 [Enter] ^OR 60 
  1167.     [Enter].  A key defined as ^QR ^N AltD ^OF would place the current date at 
  1168.     the top right of a letter.  Many VDE users set up a macro key to produce a 
  1169.     personalized letterhead: for example, the macro
  1170.               ^N John Doe ^OC ^N 123 Main St ^OC ^N City, State ^OC
  1171.     will insert that three-line address, neatly centered.  You can add print 
  1172.     effects (bold, italic) to suit your taste.  For a solid line separating 
  1173.     this from the body of the letter, try adding
  1174.                           ^N ^PS ^OF ^E ^V ^PS ^V ^X
  1175.          Macro keys can be used to create powerful new commands, for example: 
  1176.     ^D ^A ^KB ^F ^KK will mark the current word as a block.  And, similarly, 
  1177.     ^QS ^KB ^X ^KK will mark the current line as a block.
  1178.          Macro keys can also effectively change the way VDE commands behave.  
  1179.     For example, the Cut (AltC) command does not remove the cut text from the 
  1180.     file; but if you wish it did, you can set up a command that does: just 
  1181.     define EscC as a macro key consisting of AltC, ^KY.
  1182.  
  1183. MACRO PROGRAMMING (^F Esc; Esc0..Z Esc! Esc=,~ Esc$ Esc() Esc+,- Esc&) - VDE 
  1184.     has several commands that operate only within a macro definition, and give 
  1185.     you conditional control over the execution of a macro, allowing real 
  1186.     programming.
  1187.          ^F, entered as part of an input string, will be replaced by the 
  1188.     current filename when the macro executes.  This can be useful to refer to 
  1189.     the current file when running compilers and file utilities.  Thus, if you 
  1190.     define the macro
  1191.                          AltR compile ^PF /g /r1 [Enter],
  1192.     the ^F embedded in the string will be expanded, so that the DOS command 
  1193.     executed by AltR will actually be something like
  1194.                          compile C:\PGM\MYPROG.C /g /r1.
  1195.          Esc; (Esc-semicolon) gives a brief pause before macro execution 
  1196.     continues, presumably so the user can see what's happening on screen.  Use 
  1197.     two or more to get a longer pause.
  1198.          Esc0...Z, when placed IN a macro, function simply as local "labels" 
  1199.     0...Z.  They have no effect, but can be "jumped" to by other commands.
  1200.          Esc! followed by 0...Z is a "jump" instruction, causing macro 
  1201.     execution to resume with the command following that label.  Example: Esc!2 
  1202.     jumps to label 2.  As two special cases, Esc![ jumps to the beginning of 
  1203.     the macro, and Esc!] jumps to the end (exits).
  1204.          Esc= and Esc~ perform tests on the character at the current cursor 
  1205.     position.  There are two ways to use them:
  1206.               (1) Followed by a character, then a label 0...Z (or 
  1207.          "[","]" for start or end), they are conditional jumps: they 
  1208.          jump IF the character does (or for "~", does NOT) match the 
  1209.          one specified.  Example: Esc~^M2 jumps to label 2 if the 
  1210.          current character is NOT a CR.
  1211.              (2) Followed by a character, then ">" or "<", they are 
  1212.         search loops.  They will continue to move the cursor right 
  1213.         (or for "<", left) as long as the character at the cursor 
  1214.         does (or for "~", doesn't) match, or until the beginning or 
  1215.         end of the file.  Example: Esc=_> moves right as long as the 
  1216.         current character is a space (so it stops on a NONspace).
  1217.          If you program an endless loop, you will at some point have to abort 
  1218.     by pressing Esc.
  1219.          Normally, a macro aborts when an error occurs.  With Esc$ you can 
  1220.     instead specify a label where execution should continue.  Thus, after the 
  1221.     command Esc$E, any command resulting in an error (like "not found") will 
  1222.     cause a jump to label E, ignoring the error.
  1223.          Several commands allow the use of a counter variable.  Esc() sets the 
  1224.     value: for example, Esc(0) initializes it to zero.  The Esc+ command 
  1225.     simply increments the value; Esc-(minus) decrements the value, then jumps 
  1226.     if it is zero to a specified label.  (In addition to a number, you may use 
  1227.     "[" or "]" for the start or end, or "@" to avoid jumping entirely.)  
  1228.     Example: Esc-] decrements the counter, jumping to the end (exiting) if it 
  1229.     reaches zero; Esc+@ simply increments it.
  1230.          Esc&, followed by 0...Z, is used to "chain" to another macro key.  In 
  1231.     this way you can build up strings longer than the 128-byte limit on any 
  1232.     one key.  This is a "jump", not a "call"; there is no returning.  Example: 
  1233.     Esc&M causes key M to execute.  (You cannot chain to function keys.)
  1234.          Don't make macro programs Quiet until you're sure they work.
  1235.  
  1236.          EXAMPLES: 1. Here is a good macro program (best stored as a Quiet 
  1237.     key) to move the cursor to the start of the current sentence:
  1238.                Esc~.1 ^S Esc1 Esc~.< ^D Esc=_2 Esc=^M2 ^S^S Esc!1
  1239.                          Esc2 ^D Esc=_2 Esc=^M2
  1240.     You could explain this in programmer's pseudo-code as:
  1241.               If not "." goto label1    ;move left if already on period
  1242.               Move left
  1243.      label1:  While not "." move left   ;move left to previous period
  1244.               Move right                ;move right to following character
  1245.               If " "  or ^M goto label2
  1246.               Move left twice           ;skip over a period if it's not
  1247.               Goto label1               ;  followed by a space or return
  1248.      label2:  Move right                ;okay, now move right as long
  1249.               If " " or ^M goto label2  ;  as you see a space or return
  1250.               (all done)
  1251.          2. A macro to move to the start of the current paragraph:
  1252.                           ^QS ^S^S Esc=_[ ^D^D
  1253.          3. If you have some text that you can't reformat because every line 
  1254.     ends in HARD CRs, here is a macro that will "soften up" one paragraph's 
  1255.     worth, leaving just one HARD CR at the end:
  1256.                    ^QS ^X Esc=_] Esc=^M] ^S ^V_^V ^D Esc![
  1257.          4. A macro to match parentheses.  Many programming languages use 
  1258.     nested sets of parentheses, for example "{}" in C.  This program, when the 
  1259.     cursor is placed on an open bracket "{", will move ahead to find the 
  1260.     closed bracket "}" that matches it:
  1261.                     Esc~{] Esc(0) Esc1 Esc~{2 Esc+ Esc!3
  1262.                                   Esc2 Esc~}3 Esc-]
  1263.                                   Esc3 ^D Esc!1
  1264.  
  1265. TOGGLE CONTROL (Esc*) -  "Toggle" commands can create difficulties when used 
  1266.     in macro and function keys: ^V, for example, toggles insert mode.  But 
  1267.     when you plan a macro key, you don't necessarily know how Insert will be 
  1268.     set when the key is used!  So if you use ^V in the macro, you don't know 
  1269.     whether you just turned it off or on; you might be overstriking or 
  1270.     inserting, and can't tell.
  1271.          The Esc* command provides a solution, by letting you specify exactly 
  1272.     what state you want for each toggle.  Esc* must be followed by a LETTER to 
  1273.     identify a toggle, UPPERcase to turn it ON or LOWERcase to turn it off.  
  1274.     (Insert and Justify each have a third state, as well.)  For example, Esc*i 
  1275.     will set INSERT OFF, regardless of its previous state.  The toggles are:
  1276.               Autoindent    (^OA)  'a'=off  'A'=on
  1277.               Doublespace   (^OS)  'd'=off  'D'=on
  1278.               auto Format   (^OM)  'f'=off  'F'=on
  1279.               Hyphenation   (^OH)  'h'=off  'H'=on
  1280.               Insert        (^V)   'i'=off  'I'=on  'W'=word
  1281.               Justification (^OJ)  'j'=off  'J'=on  'R'=remove
  1282.               Proportional  (^OK)  'p'=off  'P'=on
  1283.               Varitab       (^OV)  'v'=off  'V'=on
  1284.     Once you've used one of these you can revert to the usual commands (like 
  1285.     ^V), if you prefer, because you WILL now know the toggle setting.
  1286.               NOTE: Previous versions of VDE handled this problem 
  1287.          for Insert mode (alone) by turning insert OFF automatically 
  1288.          before running any macro.  This is no longer the case.
  1289.  
  1290. RECORDING MACROS (Esc") - As an alternative to composing macros and using the 
  1291.     Esc[ command to type them in, you can simply record a macro as you go 
  1292.     about a task.  Press Esc" to activate recording; type away; then press 
  1293.     Esc" again to conclude.  You will then be asked whether to use or store 
  1294.     it, etc (see MACROS).  No confusing ^P prefixes are needed, and you can 
  1295.     take advantage of the full 128-key macro length.  While recording, a quote 
  1296.     mark (") will be visible in the upper right (prefix) area of the header, 
  1297.     if the header is displayed.
  1298.          Note: Function and macro key commands themselves will not work while 
  1299.     macro recording is in progress.
  1300.  
  1301.  
  1302. ====================================[end]=====================================
  1303.